import React from 'react';
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
// import { atomDark } from 'prism-themes';
 
const CodeHighlighter = ({code}) => {

  return (
    // prism-themes
    <SyntaxHighlighter language="javascript" >
      {code}
    </SyntaxHighlighter>
  )
};
 
export default CodeHighlighter;